package com.heima.apis.article.impl;

import com.heima.apis.article.IArticleClient;
import com.heima.common.dtos.ResponseResult;
import com.heima.common.enums.AppHttpCodeEnum;
import com.heima.model.article.dto.ArticleDto;

public class IArticleClientFallback implements IArticleClient {
    @Override
    public ResponseResult<Long> saveArticle(ArticleDto articleDto) {
        return ResponseResult.errorResult(AppHttpCodeEnum.SERVER_ERROR,"获取数据失败");
    }
}
